package com.vpx.server.bean.order.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description
 * @Author PC
 * @Date 2023/11/18 15:28
 **/
@Data
@ApiModel(value = "协议模板属性表")
public class TemplateAttrOrder {

    @ApiModelProperty(value = "配置id")
    private String id;

    @ApiModelProperty(value = "属性名称")
    private String attrName;

    @ApiModelProperty(value = "属性编号")
    private String attrCode;

    @ApiModelProperty(value = "显示类型：单值、枚举、数组")
    private String attrType;

    @ApiModelProperty(value = "属性内容/json")
    private String attrContent;

    @ApiModelProperty(value = "范围数据")
    private String attrRange;

    @ApiModelProperty(value = "协议模板表id")
    private String templateId;

    @ApiModelProperty("是否引用 0=否，1=是")
    private String isQuote;

    @ApiModelProperty(value = "是获取还是设置：get=获取,set=设置")
    private String isGetSet;
    @ApiModelProperty(value = "数据类型")
    private String dataType;

    @ApiModelProperty(value = "协议类型(1、一般协议 2、总线配置3、协议配置4 共享配置 5、硬件配置 6 观察者配置)")
    private String protocolType;

    @ApiModelProperty(value = "排序")
    private Integer sortNum;
}
